package com.fanshuai.springcloud.config;

import com.fanshuai.springcloud.service.UserService;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MainConfig {

    @Bean(name = "baseUserService")
    public UserService userService() {
        return new UserService();
    }
}
